package it.ma.musicplayernew;

/**
 * @包名: it.ma.musicplayernew
 * @作者: Victor
 * @创建时间 : 2015/9/22 11:46
 * @描述: TODO
 */
public interface API {

    String BASE = "AT#";

    //结束符
    String END_CHART = "*";

    //上一曲
    String PREV = BASE + "01";

    //下一曲
    String NEXT = BASE + "02";

    //定时键 +X(0,1,2,3)
    String T_SET = BASE + "03";

    //播放
    String PLAY = BASE + "041";

    //暂停
    String PAUSE = BASE + "042";

    //档位摆幅+ X表当前档位 0~8档
    String NEXT_SET = BASE + "05";

    //档位摆幅- X表当前档位 0~8档
    String PREV_SET = BASE + "06";

    //鸟鸣键
    String BIRD_KEY = BASE + "07";

    //流水键
    String WATER_KEY = BASE + "08";

    //声控键
    String VOICE_KEY = BASE + "09";

    //玩具键
    String TOY_KEY = BASE + "10";

    //进入蓝牙状态
    String BT_KEY = BASE + "11";

    //（音量值）  X的取值范围（0~F）
    String VOL = BASE + "27";

    //音乐播放总时间 AT#28XXXX
    String TOTAL_TIME = BASE + "28";

    //音乐播放总时间 AT#29XXXX
    String CURR_TIME = BASE + "29";

    //机器同步
    String SYNC = BASE + "30";

    //模式的转换
    String MODE = BASE + "12";

    //机器在USB状态
    String USB_MODE = BASE + "13";

    //机器在BT状态
    String BT_MODE = BASE + "11";

    //机器在MID音乐状态
    String MID_MODE = BASE + "15";

    //机器在声控状态
    String VOICE_MODE = BASE + "53";

    //机器在待机状态
    String WAIT = BASE + "52";

    //开机状态
    String ON = BASE + "51";

    //定时返回
    String TIME_RETURN = BASE + "31";

    //摆幅返回
    String RANGE_RETURN = BASE + "32";

}
